Adicionei novas informaçnoes ao postgre, cucumber e git

jamesperet 9 years ago
parent
commit
0e0bd97767
3 changed files with 23 additions and 1 deletions
  1. 4 0
      Postgres.md
  2. 3 1
      cucumber.md
  3. 16 0
      git.md

+ 4 - 0
Postgres.md

@@ -12,6 +12,10 @@ Depois crie dois novos bancos de dados com os seguintes comandos:
12 12
 
13 13
 ``CREATE DATABASE demo_app_test``
14 14
 
15
+``CREATE USER demo_app_user WITH PASSWORD '1234'``
16
+
17
+``ALTER ROLE demo_app_user WITH CREATEDB``
18
+
15 19
 ``GRANT ALL PRIVILEGES ON DATABASE demo_app_development TO demo_app_user;``
16 20
 
17 21
 ``GRANT ALL PRIVILEGES ON DATABASE demo_app_test TO demo_app_user;``

+ 3 - 1
cucumber.md

@@ -34,4 +34,6 @@ Uma pasta chamada ```app/features``` foi criada.
34 34
 1. Cenario
35 35
 2. Feature
36 36
 3. Steps
37
-4. Paths
37
+4. Background
38
+5. Paths
39
+6. Factories

+ 16 - 0
git.md

@@ -75,6 +75,22 @@ e para listar os remotes
75 75
 
76 76
 ```git remote```
77 77
 
78
+### Tags
79
+
80
+Tags são utilizadas para marcar versões do seu codigo.
81
+
82
+Para criar uma tag com a versão e uma mensagem, utilize o comando:
83
+
84
+```git tag -a v1.4 -m 'my version 1.4'```
85
+
86
+Para listar suas tags utilize o comando:
87
+
88
+```git tag```
89
+
90
+Para ver informações sobre uma tag: 
91
+
92
+```git show v1.4```
93
+
78 94
 ### Links
79 95
 
80 96
 - [12 curated git tips and workflow](http://durdn.com/blog/2012/12/05/git-12-curated-git-tips-and-workflows/)